local status_ok, config = pcall(require, 'kommentary.config')
if not status_ok then return end

vim.g.kommentary_create_default_mappings = false

local prefer_single_line_comment_languages = {'lua', 'php'}

local prefer_multi_line_comment_languages = {}

for _, language in ipairs(prefer_single_line_comment_languages) do
    config.configure_language(language, {prefer_single_line_comments = true})
end

for _, language in ipairs(prefer_multi_line_comment_languages) do
    config.configure_language(language, {prefer_multi_line_comments = true})
end
